package com.ponhu.ea2.goodsCenter.provider.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ponhu.ea2.entity.GoodsInventoryMd;

import java.util.List;

/**
 *
 */
public interface GoodsInventoryMdService extends IService<GoodsInventoryMd> {

    /**
     * 根据货品ID查询商品货品关系
     * @param inventoryId
     * @return
     */
    List<GoodsInventoryMd> getGoodsInventoryMdsByIid(Long inventoryId);

    /**
     * 根据货品ID查询商品货品关系(一条)
     * @param inventoryId
     * @return
     */
    GoodsInventoryMd getGoodsInventoryMdByInventoryId(Long inventoryId);

}
